package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum DriverMarkScoreRuleCategory {

    driver_dutyd_cancel(0, "司机有责取消"),
    judge(1, "乘客评价"),
    complaint(2, "普通投诉"),
    base_score(3, "基础分"),
    peak_score(4, "高峰分"),
    diligence_score(5, "勤勉分"),
    advanced_score(6, "进阶分");

    @EnumValue
    private final int code;
    private final String desc;

    DriverMarkScoreRuleCategory(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
    public String getDesc() {
        return desc;
    }
}
